AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 365
Dependencies 37
Dependents 0
Total lines 2,124
Lines of code 1,420
Logical lines of code 695
Comment lines 286
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
6
113 298
updateAppointmentAndCache()
D
6
82 472
processPayment()
D
21
48 191
getBookingInformationForPaymentSettings()
B
36 23 75
getPaymentsData()
B
38 21 59
getAvailablePayments()
B
45 20 42
calculateAppointmentPrice()
B
36 15 84
hasRelatedRefundablePayment()
A
53 8 23
updateCache()
A
47 7 36
delete()
S
46 5 43
isAllowedOnSitePaymentMethod()
S
59 6 13
setPaymentsTransfers()
S
55 5 20
getFullStatus()
S
54 3 24
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3